package com.woniuxy.main.service;

import com.woniuxy.main.pojo.Staff;

import java.util.List;

/*
 *
 *  @author zhc
 *  @create 2019-08-01 9:27
 */

public interface StaffService {

    List<Staff> findAll();

    int sRepeated(String saccount);

    Boolean addStaff(Staff staff);

    Staff selectStaffBySaccount(String saccount);

    boolean updateStaff(Staff staff);

    boolean delStaff(int id);

    List<Staff> findByCondition(Staff staff);

    Staff selectStaffById(int id);

    boolean findpass(Staff staff);
}
